package com.sth.wiki.entity;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author sth
 * @since 2023-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Ebook implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    @TableField("category1Id")
    private Integer category1id;

    @TableField("category2Id")
    private Integer category2id;

    private String description;

    private String cover;

    @TableField("dovCount")
    private Integer dovcount;

    @TableField("viewCount")
    private Integer viewcount;

    @TableField("voteCount")
    private Integer votecount;

}
